Gamer Boards Video Game Message Boards   New! Play Games and Compete with others in the Arcade!

Go Back   Gamer Boards Video Game Message Boards > Game Talk > Game Genie Code Creators Club
Welcome, Chemist.
You last visited: Today at 04:18 PM
Private Messages: Unread 0, Total 0.
User CP FAQ Members List Calendar Arcade New Posts Quick Links Log Out


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 12-05-2003, 05:46 AM   #1
Chemist
Registered User
 
Join Date: Nov 2003
Location: ex-USSR
Posts: 15 Chemist is off the scale
Send a message via ICQ to Chemist
What is "BLE" instruction

I've made some file (example.bin, contains 2 bytes: 6F12) and disassembled it using sega disasm:
disasm -x example.bin example.asm

File example.asm contains this info:
6F12 BLE $00000014

What is BLE (6F) instuction? I can't find any info about it even in the official Motorola doc!

P.S. It's not unusual question. When I replace 6F12 to 6012 (BRA instruction) in my Phantasy Star 3 ROM, one strike kill small enemies...
__________________
Thanks for attention.

Chemist.
Chemist is online now Add to Chemist's Reputation   Edit/Delete Message Reply With Quote Quick reply to this message
Old 12-05-2003, 06:41 PM   #2
Tony Hedstrom
Registered User
 
Join Date: Jun 2002
Posts: 274 Tony Hedstrom is off the scale
Well actually, 6F12 (not 6F) is a conditional branch instruction. BLE means: Branch if Less then Equal.

6012 is an "unconditional" branch instruction, which means it happens no matter what (it skips ahead 12 bytes in the program).

I'm pretty sure that all M68k instructions are 2 bytes (4 digits).
Tony Hedstrom is offline Add to Tony Hedstrom's Reputation Report Bad Post   Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Bold
Italic
Underline
Wrap [QUOTE] Tags
Options


Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 05:01 PM.


Powered by: vBulletin Version 3.0.1
Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Copyright 1998-2002, VideoGameSource.com, a division of Aquamarine Technologies, Inc.